<?php 
namespace Api\Controller;
class TiyanController extends CommonController{
	
	protected $m;
	
	function _initialize() {
		parent::_initialize();
		$this->m = D('YgclTiyan');
	}
	
	/**
	 * 判断用户是否已报名体验
	 * @param unknown $uid
	 */
	function check_tiyan($uid){
		$info = $this->m->where(array('uid'=>$uid))->find();
		if($info){
			return true;
		}else{
			return false;
		}
	}
	
}